package com.esd.crm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.esd.crm.entity.User;

@Mapper
public interface UserMapper {

	boolean deleteByPrimaryKey(String userId);

	int insert(User record);

	boolean insertSelective(User record);

	User selectByPrimaryKey(String userId);

	boolean updateByPrimaryKeySelective(User record);

	int updateByPrimaryKey(User record);

	List<User> findAll(User user);

	User findOneByUserName(String username);

	boolean deleteBatch(String[] ids);
}